const Mock = require('mockjs')

const data = Mock.mock({
	"tab|10": [{
		"id": '@id',
		"title": "@ctitle(2)",
		"children|10-20": [{
			"id": '@id',
			"title": '@ctitle',
			"image": '@image(120x80, @color, image)',
			"word": '@cword(10, 20)',
			"price|10-1000": 1
		}]
	}],
	"list|20": [{
		"id": '@id',
		"title": '@ctitle',
		"image": '@image(120x80, @color, image)',
		"word": '@cword(10, 20)',
		"price|10-1000": 1
	}],
	"userList": [{
		id: '@id',
		username: 'admin',
		password: 'admin',
		avator: 'https://robohash.org/1231231',
		nickname: '认真学习的同学',
		addressList: [{
			id: "@id",
			tel: "13111111111",
			address: '上海奉贤区-八维宏烨校区',
			nickname: '张三'
		}, {
			id: "@id",
			tel: "13111111111",
			address: '江苏-宿迁职业技术学院',
			nickname: '张三'
		}],
		orderList: [],
		collectList: [],
		goodList: [],
		historyList: []
	}, {
		id: '@id',
		username: '666666',
		password: '666666',
		avator: 'https://robohash.org/1231231?sets=set4',
		nickname: '划水表面努力的同学',
		addressList: [{
			id: "@id",
			tel: "13434534534",
			address: '北京市-海淀区-上地-八维研究学院',
			nickname: '李二虎'
		}, {
			id: "@id",
			tel: "13434534534",
			address: '天津市-北城区-未知学院',
			nickname: '李二虎'
		}],
		orderList: [],
		collectList: [],
		goodList: [],
		historyList: []
	}]
})

module.exports = data